package com.starinside.wp.service;

import com.starinside.wp.domain.Children;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.IOException;

public interface UploadService {

    String uploadLocalFile(String filePath, String type) throws IOException;

    String uploadStaticPhotoAlbum(String filePath) throws IOException;

    String uploadCommonFile(String staffId, String type, MultipartFile file);

    String uploadComplaintRecordImg(String usersId, MultipartFile[] files);

    String uploadFamilyRecordImg(String usersId, MultipartFile[] files);

    String uploadFamilyRecordVideo(String usersId, MultipartFile[] files);

    Children uploadChildrenHeadImg(String childrenId, MultipartFile file);

    Children updateCard(String childrenId, String card, String userName);
}
